{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
  <!--  <section class="content-header">
      <h1>
        邮箱
        <small>13 封新邮件</small>
      </h1>
    </section>-->

    <!-- Main content -->
    <section class="content">
      <div class="row">
        <div class="col-md-2">
{%include file="file/file.left.tpl.php"%}
        </div>
        <!-- /.col -->
        <div class="col-md-10">
          <div class="box box-primary">
            <div class="box-header with-border">
              <h3 class="box-title">私人文件夹</h3>
              <a href="index.php?a=file.folderadd" class="btn btn-primary btn-sm" style="float:right;">新 增</a>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <div class="table-responsive mailbox-messages">
                <table class="table table-bordered table-striped">
                  <tr>
                     <td>目录名称</td>
                     <td>添加时间</td>
                     <td>文件总数</td>
                     <td>占用空间</td>
                     <td>操作</td>
                  </tr>
				  {%foreach from=$folder_lists key=key item=value%}
                  <tr>
                     <td>{%$value.folder_name%}</td>
                     <td>{%$value.create_time%}</td>
                     <td>{%$value.file_count%}</td>
                     <td>{%$value.file_size%}</td>
                     <td width="150">
                     	  <a href="index.php?a=file.folderupdate&folder_id={%$value.folder_id%}" class="btn btn-warning btn-xs" title="修 改"> <i class="fa fa-edit(alias)"></i></a>
                          <a href="index.php?a=file.folderdel&folder_id={%$value.folder_id%}" class="btn btn-danger btn-xs" onclick="if(confirm('警告！确认删除信息?')==false)return false;" title="删除"><i class="fa fa-trash-o"></i></a>
                     </td>
                  </tr>
				  {%/foreach%}

                </table>
                <!-- /.table -->
				{%$page%}
              </div>
              <!-- /.mail-box-messages -->
            </div>
            <!-- /.box-body -->
            <div class="box-footer no-padding">
            </div>
          </div>
          <!-- /. box -->
        </div>
        <!-- /.col -->
      </div>
      <!-- /.row -->
    </section>
    <!-- /.content -->
  </div>
{%include file="index.footer.tpl.php"%}